package com.example.s08_restful_swagger.service;

import com.example.s08_restful_swagger.entity.Message;

import java.util.List;
/**
 * @auther zhangming
 * @date 2022/4/3 18:44
 */
public interface IMessageService
{
    public void save(Message m);

    public List<Message> findAll();

    public Message findById(Long id);

    public void removeById(Long id);

    public void updateById(Message m);

    public void updateText(Message m);
}